<% if accepted_rejected.accepted == NIL %>
  <% if accepted_rejected.rejected == NIL %>
    <td>
      <%= link_to 'Accept', accepted_rejected, :confirm => 'Are you sure?', :method => :accept %>
    </td>
    <td>
      <%= link_to 'Reject', accepted_rejected, :confirm => 'Are you sure?', :method => :reject %>
    </td>
  <% else %>
    <td>
      &nbsp;
    </td>
    <td>
      <%= accepted_rejected.rejected %>
    </td>
  <% end %>
<% else %>
  <td>
    <%= accepted_rejected.accepted %>
  </td>
  <td>
    &nbsp;
  </td>
<% end %>
